﻿using System.Collections;
using UnityEngine;

public class EnemyStateSOBase : ScriptableObject, IState<EnemyStateType>
{
    public EnemyBase enemy;
    public EnemyControllerBase enemyController;
    public virtual void Init(EnemyBase enemyBase)
    {
        this.enemy = enemyBase;
        this.enemyController = this.enemy.controller;
    }

    public virtual void OnEnter(EnemyStateType fromStateType)
    {

    }
    public virtual void OnUpdate()
    {

    }

    public virtual void OnExit(EnemyStateType toStateType)
    {

    }
}